package admin

import (
	"context"
)

type AdminHandler struct {
}

func NewAdminServer() WebServer {
	return WebServer{
		Port:          8090,
		ServerHandler: &AdminHandler{},
	}
}

func (handler *AdminHandler) DoGet(ctx context.Context, path string, params map[string][]string) interface{} {
	return nil
}

func (handler *AdminHandler) DoPost(ctx context.Context, path string, data []byte) interface{} {

	switch path {
	case "login":
		return nil
	case "login1":
	}

	return nil
}
